import { createRouter,createWebHistory } from "vue-router";
import { isMobileTerminal} from '@/utils/flexble'
import mobileRoutes from './modules/moblie-routes'
import pcRoutes from './modules/pc-routes'

//创建 vueRouter是咧
const router = createRouter({
    history:createWebHistory(),
    routes:isMobileTerminal.value?mobileRoutes:pcRoutes
})

export default router